home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
DB_CLIPP
/
0643C.ZIP
/
DCRUNCH.DOC
< prev
next >
Wrap
Text File
|
1987-05-31
|
2KB
|
40 lines
dCRUNCH.COM was written by Jon Wind on 2/19/87.
It will take dBASE III program files and trim most commands to four
letters, removing comments, blank lines, trailing spaces, and all
indentation, creating new files with extensions of ".DB3". These
files may be directed to any drive or directory. Use /e to enable
automatic overwriting; /d to current line updates; /t to trim commands
only (indentation and comments are retained). Filename ext defaults
to PRG. Processing may be aborted with a ^C (or Break).
dCRUNCH should be used to create a smaller, faster set of run time
files. Keep another set of commented, properly indented files for
reference.
You have the option of placing one dBASE III program file on the
command line, or placing several in a separate script file which
will be read, line by line, by dCRUNCH.COM. Program files may not
have extensions of DB3.
Script files must also be text files with only one filename per line.
dCRUNCH.COM will ignore leading spaces and blank lines. The first
entry in a line is assumed to be the dBASE III file.
I've found the easiest way to create scripts is to use DOS redirection
with the DIR command. The DOS command "dir p???.prg > test" would
generate a file called TEST which may then be used as a script file
to convert all of my command files which begin with P.
dCRUNCH d:\path\filename.ext [d:\outpath] [/e] [/d] [/t]
dCRUNCH $ d:\path\scriptname.ext [d:\outpath] [/e] [/d] [/t]
* dCRUNCH.COM was written in Turbo Pascal on an AT&T PC6300. Source
code, such as it is, is available upon request.
COMPUSERVE: 70167,3444 or 72245,1553 - GENIE: JWIND - MCIMAIL: JWIND